package com.hnjd.entity;

import java.util.List;

public class Items {
	private  Integer id;
	private  Integer price;
	private Integer amount;
	private  Integer order_id;
	private  Integer good_id;
	private Goods goods;
	
	public Items(Integer id, Integer price, Integer amount, Integer order_id, Integer good_id, Goods goods) {
		super();
		this.id = id;
		this.price = price;
		this.amount = amount;
		this.order_id = order_id;
		this.good_id = good_id;
		this.goods = goods;
	}
	public Goods getGoods() {
		return goods;
	}
	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	public Items() {
		super();
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getPrice() {
		return price;
	}
	public void setPrice(Integer price) {
		this.price = price;
	}
	public Integer getAmount() {
		return amount;
	}
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	public Integer getOrder_id() {
		return order_id;
	}
	public void setOrder_id(Integer order_id) {
		this.order_id = order_id;
	}
	public Integer getGood_id() {
		return good_id;
	}
	public void setGood_id(Integer good_id) {
		this.good_id = good_id;
	}
	@Override
	public String toString() {
		return "Items [id=" + id + ", price=" + price + ", amount=" + amount + ", order_id=" + order_id + ", good_id="
				+ good_id + ", goods=" + goods + "]";
	}
	
	
}
